<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page pageEncoding="utf-8"%>
<div>
	<c:if test="${!empty msg}"><span style="color:#ff0000;">${msg}</span></c:if>
</div>
<div class="loginline">
	<a href="nav.html" style="font-weight:bold;float:left;">导航</a>
</div>
<div class="logoline">
	<c:set var="pindaoid" value="${news.pindao.father.id}"/>
	<c:set var="nav" value="nav"/>
	<c:choose>
		<c:when test="${pindaoid==31}">
			<c:set var="logo" value="world.png"/>
			<c:set var="nav" value="navWorld"/>
		</c:when>
		<c:when test="${pindaoid==23}">
			<c:set var="logo" value="mil.png"/>
			<c:set var="nav" value="navMil"/>
		</c:when>
		<c:when test="${pindaoid==36}">
			<c:set var="logo" value="china.png"/>
			<c:set var="nav" value="navHistory"/>
		</c:when>
		<c:when test="${pindaoid==15}">
			<c:set var="logo" value="taiwan.png"/>
			<c:set var="nav" value="navTaiwan"/>
		</c:when>
		<c:when test="${pindaoid==16}">
			<c:set var="logo" value="opinion.png"/>
			<c:set var="nav" value="navComment"/>
		</c:when>
		<c:when test="${pindaoid==17}">
			<c:set var="logo" value="finance.png"/>
			<c:set var="nav" value="navFinance"/>
		</c:when>
		<c:when test="${pindaoid==28}">
			<c:set var="logo" value="tech.png"/>
			<c:set var="nav" value="navTech"/>
		</c:when>
		<c:when test="${pindaoid==69}">
			<c:set var="logo" value="society.png"/>
			<c:set var="nav" value="navSocial"/>
		</c:when>
		<c:when test="${pindaoid==74}">
			<c:set var="nav" value="navHistory"/>
			<c:set var="logo" value="history.png"/>
		</c:when>
		<c:when test="${pindaoid==78}">
			<c:set var="logo" value="blog.png"/>
			<c:set var="nav" value="navBlog"/>
		</c:when>
		<c:when test="${pindaoid==55}">
			<c:set var="nav" value="navEnt"/>
			<c:set var="logo" value="ent.png"/>
		</c:when>
		<c:when test="${pindaoid==64}">
			<c:set var="logo" value="health.png"/>
			<c:set var="nav" value="navHealth"/>
		</c:when>
		<c:when test="${pindaoid==60}">
			<c:set var="logo" value="photo.png"/>
			<c:set var="nav" value="navPhoto"/>
		</c:when>
		<c:when test="${pindaoid==94}">
			<c:set var="logo" value="travel.png"/>
			<c:set var="nav" value="navTravel"/>
		</c:when>
		<c:otherwise>
			<c:set var="logo" value="wapLogo.png"/>
			<c:set var="nav" value="nav"/>
		</c:otherwise>
	</c:choose>
	<div style="float:left;">
		<a href="index.html"><img src="./wap/img/${logo}" alt="logo" style="width:100%;"/></a>
	</div>
</div>
<div style="clear:both;">
</div>
